<div class="welfareItemList">
    <div class="header">
        <h4 class="title">福利券列表</h4>
    </div>
    <div class="searchList">
        <form class="form-horizontal" ng-submit="getWelfareItemList()">
            <div class="form-group">
                <label for="display" class="col-sm-2 control-label">福利ID</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" placeholder="" ng-model="search.id">
                </div>
            </div>
            <div class="form-group">
                <label for="display" class="col-sm-2 control-label">券号</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" placeholder="" ng-model="search.code">
                </div>
                <div class="col-sm-2">
                    <button type="submit" class="btn btn-default">查询</button>
                </div>
                <div class="col-sm-1">
                    <input type="file" id="docFile" onchange="angular.element(this).scope().uploadWelfareItem(this.files[0])" style="display:none;">
                    <a href="" class="btn btn-default" onclick="document.getElementById('docFile').click()">导入线上优惠券</a>
                </div>
            </div>
        </form>
    </div>
    <section>
        <div dx-data-grid="welfareItemGridConfig">
            <div data-options="dxTemplate: { name: 'useTimeCellTemplate' }">
                <span >{{data.useTime | date :"yyyy-MM-dd HH:mm:ss"}}</span>
            </div>
            <div data-options="dxTemplate: { name: 'createTimeCellTemplate' }">
                <span >{{data.createTime | date :"yyyy-MM-dd HH:mm:ss"}}</span>
            </div>
        </div>
    </section>
</div>